home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 September / PCWorld_2007-09_cd.bin / system / ntfs / ntfsundelete.exe / {app} / traceback.pyc < prev    next >
Unknown  |  2007-02-05  |  10.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Python Compiled Bytecode (document/pythonCompiled) magic Supported
100% file python 2.4 byte-compiled default
99% file data default
100% TrID CPython 2.4 bytecode default
100% siegfried fmt/1110 Python Compiled File (2.4) default
100% detectItEasy Format: Python Compiled Module(2.4b1) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a 36 d1 88 41 | 63 00 00 00 00 00 00 00 |m...6..A|c.......|
|00000010| 00 0e 00 00 00 40 00 00 | 00 73 30 01 00 00 64 00 |.....@..|.s0...d.|
|00000020| 00 5a 00 00 64 01 00 6b | 01 00 5a 01 00 64 01 00 |.Z..d..k|..Z..d..|
|00000030| 6b 02 00 5a 02 00 64 01 | 00 6b 03 00 5a 03 00 64 |k..Z..d.|.k..Z..d|
|00000040| 02 00 64 03 00 64 04 00 | 64 05 00 64 06 00 64 07 |..d..d..|d..d..d.|
|00000050| 00 64 08 00 64 09 00 64 | 0a 00 64 0b 00 64 0c 00 |.d..d..d|..d..d..|
|00000060| 64 0d 00 64 0e 00 64 0f | 00 67 0e 00 5a 04 00 64 |d..d..d.|.g..Z..d|
|00000070| 10 00 64 11 00 64 12 00 | 84 02 00 5a 05 00 64 01 |..d..d..|...Z..d.|
|00000080| 00 64 13 00 84 01 00 5a | 07 00 64 14 00 84 00 00 |.d.....Z|..d.....|
|00000090| 5a 08 00 64 01 00 64 01 | 00 64 15 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000a0| 09 00 64 01 00 64 16 00 | 84 01 00 5a 0a 00 64 01 |..d..d..|...Z..d.|
|000000b0| 00 64 17 00 84 01 00 5a | 0b 00 64 01 00 64 01 00 |.d.....Z|..d..d..|
|000000c0| 64 18 00 84 02 00 5a 0c | 00 64 01 00 64 19 00 84 |d.....Z.|.d..d...|
|000000d0| 01 00 5a 0d 00 64 1a 00 | 84 00 00 5a 0e 00 64 1b |..Z..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0f 00 64 | 01 00 64 01 00 64 1c 00 |....Z..d|..d..d..|
|000000f0| 84 02 00 5a 10 00 64 01 | 00 64 1d 00 84 01 00 5a |...Z..d.|.d.....Z|
|00000100| 11 00 64 01 00 64 01 00 | 64 1e 00 84 02 00 5a 12 |..d..d..|d.....Z.|
|00000110| 00 64 01 00 64 01 00 64 | 01 00 64 1f 00 84 03 00 |.d..d..d|..d.....|
|00000120| 5a 13 00 64 01 00 64 01 | 00 64 20 00 84 02 00 5a |Z..d..d.|.d ....Z|
|00000130| 14 00 64 01 00 64 01 00 | 64 21 00 84 02 00 5a 15 |..d..d..|d!....Z.|
|00000140| 00 64 22 00 84 00 00 5a | 16 00 64 01 00 53 28 23 |.d"....Z|..d..S(#|
|00000150| 00 00 00 73 40 00 00 00 | 45 78 74 72 61 63 74 2c |...s@...|Extract,|
|00000160| 20 66 6f 72 6d 61 74 20 | 61 6e 64 20 70 72 69 6e | format |and prin|
|00000170| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |t inform|ation ab|
|00000180| 6f 75 74 20 50 79 74 68 | 6f 6e 20 73 74 61 63 6b |out Pyth|on stack|
|00000190| 20 74 72 61 63 65 73 2e | 4e 74 0d 00 00 00 65 78 | traces.|Nt....ex|
|000001a0| 74 72 61 63 74 5f 73 74 | 61 63 6b 74 0a 00 00 00 |tract_st|ackt....|
|000001b0| 65 78 74 72 61 63 74 5f | 74 62 74 10 00 00 00 66 |extract_|tbt....f|
|000001c0| 6f 72 6d 61 74 5f 65 78 | 63 65 70 74 69 6f 6e 74 |ormat_ex|ceptiont|
|000001d0| 15 00 00 00 66 6f 72 6d | 61 74 5f 65 78 63 65 70 |....form|at_excep|
|000001e0| 74 69 6f 6e 5f 6f 6e 6c | 79 74 0b 00 00 00 66 6f |tion_onl|yt....fo|
|000001f0| 72 6d 61 74 5f 6c 69 73 | 74 74 0c 00 00 00 66 6f |rmat_lis|tt....fo|
|00000200| 72 6d 61 74 5f 73 74 61 | 63 6b 74 09 00 00 00 66 |rmat_sta|ckt....f|
|00000210| 6f 72 6d 61 74 5f 74 62 | 74 09 00 00 00 70 72 69 |ormat_tb|t....pri|
|00000220| 6e 74 5f 65 78 63 74 0a | 00 00 00 66 6f 72 6d 61 |nt_exct.|...forma|
|00000230| 74 5f 65 78 63 74 0f 00 | 00 00 70 72 69 6e 74 5f |t_exct..|..print_|
|00000240| 65 78 63 65 70 74 69 6f | 6e 74 0a 00 00 00 70 72 |exceptio|nt....pr|
|00000250| 69 6e 74 5f 6c 61 73 74 | 74 0b 00 00 00 70 72 69 |int_last|t....pri|
|00000260| 6e 74 5f 73 74 61 63 6b | 74 08 00 00 00 70 72 69 |nt_stack|t....pri|
|00000270| 6e 74 5f 74 62 74 09 00 | 00 00 74 62 5f 6c 69 6e |nt_tbt..|..tb_lin|
|00000280| 65 6e 6f 74 00 00 00 00 | 73 01 00 00 00 0a 63 03 |enot....|s.....c.|
|00000290| 00 00 00 03 00 00 00 03 | 00 00 00 43 00 00 00 73 |........|...C...s|
|000002a0| 15 00 00 00 7c 00 00 69 | 01 00 7c 01 00 7c 02 00 |....|..i|..|..|..|
|000002b0| 17 83 01 00 01 64 00 00 | 53 28 01 00 00 00 4e 28 |.....d..|S(....N(|
|000002c0| 04 00 00 00 74 04 00 00 | 00 66 69 6c 65 74 05 00 |....t...|.filet..|
|000002d0| 00 00 77 72 69 74 65 74 | 03 00 00 00 73 74 72 74 |..writet|....strt|
|000002e0| 0a 00 00 00 74 65 72 6d | 69 6e 61 74 6f 72 28 03 |....term|inator(.|
|000002f0| 00 00 00 52 0f 00 00 00 | 52 11 00 00 00 52 12 00 |...R....|R....R..|
|00000300| 00 00 28 00 00 00 00 28 | 00 00 00 00 74 17 00 00 |..(....(|....t...|
|00000310| 00 4f 3a 5c 72 65 6c 65 | 61 73 65 5c 74 72 61 63 |.O:\rele|ase\trac|
|00000320| 65 62 61 63 6b 2e 70 79 | 74 06 00 00 00 5f 70 72 |eback.py|t...._pr|
|00000330| 69 6e 74 0c 00 00 00 73 | 02 00 00 00 00 01 63 02 |int....s|......c.|
|00000340| 00 00 00 06 00 00 00 07 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00000350| 77 00 00 00 7c 01 00 64 | 03 00 6a 08 00 6f 0d 00 |w...|..d|..j..o..|
|00000360| 01 74 02 00 69 03 00 7d | 01 00 6e 01 00 01 78 56 |.t..i..}|..n...xV|
|00000370| 00 7c 00 00 44 5d 4e 00 | 5c 04 00 7d 03 00 7d 04 |.|..D]N.|\..}..}.|
|00000380| 00 7d 02 00 7d 05 00 74 | 09 00 7c 01 00 64 01 00 |.}..}..t|..|..d..|
|00000390| 7c 03 00 7c 04 00 7c 02 | 00 66 03 00 16 83 02 00 ||..|..|.|.f......|
|000003a0| 01 7c 05 00 6f 1b 00 01 | 74 09 00 7c 01 00 64 02 |.|..o...|t..|..d.|
|000003b0| 00 7c 05 00 69 0a 00 83 | 00 00 16 83 02 00 01 71 |.|..i...|.......q|
|000003c0| 21 00 01 71 21 00 57 64 | 03 00 53 28 04 00 00 00 |!..q!.Wd|..S(....|
|000003d0| 73 79 00 00 00 50 72 69 | 6e 74 20 74 68 65 20 6c |sy...Pri|nt the l|
|000003e0| 69 73 74 20 6f 66 20 74 | 75 70 6c 65 73 20 61 73 |ist of t|uples as|
|000003f0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 65 78 74 | returne|d by ext|
|00000400| 72 61 63 74 5f 74 62 28 | 29 20 6f 72 0a 20 20 20 |ract_tb(|) or. |
|00000410| 20 65 78 74 72 61 63 74 | 5f 73 74 61 63 6b 28 29 | extract|_stack()|
|00000420| 20 61 73 20 61 20 66 6f | 72 6d 61 74 74 65 64 20 | as a fo|rmatted |
|00000430| 73 74 61 63 6b 20 74 72 | 61 63 65 20 74 6f 20 74 |stack tr|ace to t|
|00000440| 68 65 20 67 69 76 65 6e | 20 66 69 6c 65 2e 73 1b |he given| file.s.|
|00000450| 00 00 00 20 20 46 69 6c | 65 20 22 25 73 22 2c 20 |... Fil|e "%s", |
|00000460| 6c 69 6e 65 20 25 64 2c | 20 69 6e 20 25 73 73 06 |line %d,| in %ss.|
|00000470| 00 00 00 20 20 20 20 25 | 73 4e 28 0b 00 00 00 52 |... %|sN(....R|
|00000480| 0f 00 00 00 74 04 00 00 | 00 4e 6f 6e 65 74 03 00 |....t...|.Nonet..|
|00000490| 00 00 73 79 73 74 06 00 | 00 00 73 74 64 65 72 72 |..syst..|..stderr|
|000004a0| 74 0e 00 00 00 65 78 74 | 72 61 63 74 65 64 5f 6c |t....ext|racted_l|
|000004b0| 69 73 74 74 08 00 00 00 | 66 69 6c 65 6e 61 6d 65 |istt....|filename|
|000004c0| 74 06 00 00 00 6c 69 6e | 65 6e 6f 74 04 00 00 00 |t....lin|enot....|
|000004d0| 6e 61 6d 65 74 04 00 00 | 00 6c 69 6e 65 52 14 00 |namet...|.lineR..|
|000004e0| 00 00 74 05 00 00 00 73 | 74 72 69 70 28 06 00 00 |..t....s|trip(...|
|000004f0| 00 52 18 00 00 00 52 0f | 00 00 00 52 1b 00 00 00 |.R....R.|...R....|
|00000500| 52 19 00 00 00 52 1a 00 | 00 00 52 1c 00 00 00 28 |R....R..|..R....(|
|00000510| 00 00 00 00 28 00 00 00 | 00 52 13 00 00 00 74 0a |....(...|.R....t.|
|00000520| 00 00 00 70 72 69 6e 74 | 5f 6c 69 73 74 10 00 00 |...print|_list...|
|00000530| 00 73 12 00 00 00 00 02 | 00 01 0d 01 0d 01 07 00 |.s......|........|
|00000540| 12 01 06 01 14 01 07 01 | 63 01 00 00 00 07 00 00 |........|c.......|
|00000550| 00 05 00 00 00 43 00 00 | 00 73 66 00 00 00 67 00 |.....C..|.sf...g.|
|00000560| 00 7d 02 00 78 59 00 7c | 00 00 44 5d 51 00 5c 04 |.}..xY.||..D]Q.\.|
|00000570| 00 7d 03 00 7d 05 00 7d | 01 00 7d 06 00 64 01 00 |.}..}..}|..}..d..|
|00000580| 7c 03 00 7c 05 00 7c 01 | 00 66 03 00 16 7d 04 00 ||..|..|.|.f...}..|
|00000590| 7c 06 00 6f 18 00 01 7c | 04 00 64 02 00 7c 06 00 ||..o...||..d..|..|
|000005a0| 69 07 00 83 00 00 16 17 | 7d 04 00 6e 01 00 01 7c |i.......|}..n...||
|000005b0| 02 00 69 08 00 7c 04 00 | 83 01 00 01 71 0d 00 57 |..i..|..|....q..W|
|000005c0| 7c 02 00 53 28 04 00 00 | 00 73 b2 01 00 00 46 6f ||..S(...|.s....Fo|
|000005d0| 72 6d 61 74 20 61 20 6c | 69 73 74 20 6f 66 20 74 |rmat a l|ist of t|
|000005e0| 72 61 63 65 62 61 63 6b | 20 65 6e 74 72 79 20 74 |raceback| entry t|
|000005f0| 75 70 6c 65 73 20 66 6f | 72 20 70 72 69 6e 74 69 |uples fo|r printi|
|00000600| 6e 67 2e 0a 0a 20 20 20 | 20 47 69 76 65 6e 20 61 |ng... | Given a|
|00000610| 20 6c 69 73 74 20 6f 66 | 20 74 75 70 6c 65 73 20 | list of| tuples |
|00000620| 61 73 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 65 |as retur|ned by e|
|00000630| 78 74 72 61 63 74 5f 74 | 62 28 29 20 6f 72 0a 20 |xtract_t|b() or. |
|00000640| 20 20 20 65 78 74 72 61 | 63 74 5f 73 74 61 63 6b | extra|ct_stack|
|00000650| 28 29 2c 20 72 65 74 75 | 72 6e 20 61 20 6c 69 73 |(), retu|rn a lis|
|00000660| 74 20 6f 66 20 73 74 72 | 69 6e 67 73 20 72 65 61 |t of str|ings rea|
|00000670| 64 79 20 66 6f 72 20 70 | 72 69 6e 74 69 6e 67 2e |dy for p|rinting.|
|00000680| 0a 20 20 20 20 45 61 63 | 68 20 73 74 72 69 6e 67 |. Eac|h string|
|00000690| 20 69 6e 20 74 68 65 20 | 72 65 73 75 6c 74 69 6e | in the |resultin|
|000006a0| 67 20 6c 69 73 74 20 63 | 6f 72 72 65 73 70 6f 6e |g list c|orrespon|
|000006b0| 64 73 20 74 6f 20 74 68 | 65 20 69 74 65 6d 20 77 |ds to th|e item w|
|000006c0| 69 74 68 20 74 68 65 0a | 20 20 20 20 73 61 6d 65 |ith the.| same|
|000006d0| 20 69 6e 64 65 78 20 69 | 6e 20 74 68 65 20 61 72 | index i|n the ar|
|000006e0| 67 75 6d 65 6e 74 20 6c | 69 73 74 2e 20 20 45 61 |gument l|ist. Ea|
|000006f0| 63 68 20 73 74 72 69 6e | 67 20 65 6e 64 73 20 69 |ch strin|g ends i|
|00000700| 6e 20 61 20 6e 65 77 6c | 69 6e 65 3b 0a 20 20 20 |n a newl|ine;. |
|00000710| 20 74 68 65 20 73 74 72 | 69 6e 67 73 20 6d 61 79 | the str|ings may|
|00000720| 20 63 6f 6e 74 61 69 6e | 20 69 6e 74 65 72 6e 61 | contain| interna|
|00000730| 6c 20 6e 65 77 6c 69 6e | 65 73 20 61 73 20 77 65 |l newlin|es as we|
|00000740| 6c 6c 2c 20 66 6f 72 20 | 74 68 6f 73 65 20 69 74 |ll, for |those it|
|00000750| 65 6d 73 0a 20 20 20 20 | 77 68 6f 73 65 20 73 6f |ems. |whose so|
|00000760| 75 72 63 65 20 74 65 78 | 74 20 6c 69 6e 65 20 69 |urce tex|t line i|
|00000770| 73 20 6e 6f 74 20 4e 6f | 6e 65 2e 0a 20 20 20 20 |s not No|ne.. |
|00000780| 73 1c 00 00 00 20 20 46 | 69 6c 65 20 22 25 73 22 |s.... F|ile "%s"|
|00000790| 2c 20 6c 69 6e 65 20 25 | 64 2c 20 69 6e 20 25 73 |, line %|d, in %s|
|000007a0| 0a 73 07 00 00 00 20 20 | 20 20 25 73 0a 4e 28 09 |.s.... | %s.N(.|
|000007b0| 00 00 00 74 04 00 00 00 | 6c 69 73 74 52 18 00 00 |...t....|listR...|
|000007c0| 00 52 19 00 00 00 52 1a | 00 00 00 52 1b 00 00 00 |.R....R.|...R....|
|000007d0| 52 1c 00 00 00 74 04 00 | 00 00 69 74 65 6d 52 1d |R....t..|..itemR.|
|000007e0| 00 00 00 74 06 00 00 00 | 61 70 70 65 6e 64 28 07 |...t....|append(.|
|000007f0| 00 00 00 52 18 00 00 00 | 52 1b 00 00 00 52 1f 00 |...R....|R....R..|
|00000800| 00 00 52 19 00 00 00 52 | 20 00 00 00 52 1a 00 00 |..R....R| ...R...|
|00000810| 00 52 1c 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|00000820| 52 13 00 00 00 52 04 00 | 00 00 1b 00 00 00 73 12 |R....R..|......s.|
|00000830| 00 00 00 00 09 00 01 06 | 01 07 00 12 01 13 01 07 |........|........|
|00000840| 01 18 01 11 01 63 03 00 | 00 00 0a 00 00 00 06 00 |.....c..|........|
|00000850| 00 00 43 00 00 00 73 1c | 01 00 00 7c 02 00 64 06 |..C...s.|...|..d.|
|00000860| 00 6a 08 00 6f 0d 00 01 | 74 02 00 69 03 00 7d 02 |.j..o...|t..i..}.|
|00000870| 00 6e 01 00 01 7c 01 00 | 64 06 00 6a 08 00 6f 21 |.n...|..|d..j..o!|
|00000880| 00 01 74 05 00 74 02 00 | 64 01 00 83 02 00 6f 0d |..t..t..|d.....o.|
|00000890| 00 01 74 02 00 69 06 00 | 7d 01 00 71 48 00 01 6e |..t..i..|}..qH..n|
|000008a0| 01 00 01 64 02 00 7d 06 | 00 78 c7 00 7c 00 00 64 |...d..}.|.x..|..d|
|000008b0| 06 00 6a 09 00 6f b9 00 | 01 7c 01 00 64 06 00 6a |..j..o..|.|..d..j|
|000008c0| 08 00 70 0d 00 01 7c 06 | 00 7c 01 00 6a 00 00 6f |..p...|.|.|..j..o|
|000008d0| 9f 00 01 7c 00 00 69 09 | 00 7d 05 00 7c 00 00 69 |...|..i.|.}..|..i|
|000008e0| 0b 00 7d 07 00 7c 05 00 | 69 0d 00 7d 03 00 7c 03 |..}..|..|i..}..|.|
|000008f0| 00 69 0f 00 7d 09 00 7c | 03 00 69 11 00 7d 04 00 |.i..}..||..i..}..|
|00000900| 74 13 00 7c 02 00 64 03 | 00 7c 09 00 7c 07 00 7c |t..|..d.|.|..|..||
|00000910| 04 00 66 03 00 16 83 02 | 00 01 74 14 00 69 15 00 |..f.....|..t..i..|
|00000920| 7c 09 00 83 01 00 01 74 | 14 00 69 16 00 7c 09 00 ||......t|..i..|..|
|00000930| 7c 07 00 83 02 00 7d 08 | 00 7c 08 00 6f 1b 00 01 ||.....}.|.|..o...|
|00000940| 74 13 00 7c 02 00 64 04 | 00 7c 08 00 69 18 00 83 |t..|..d.|.|..i...|
|00000950| 00 00 17 83 02 00 01 6e | 01 00 01 7c 00 00 69 19 |.......n|...|..i.|
|00000960| 00 7d 00 00 7c 06 00 64 | 05 00 17 7d 06 00 71 51 |.}..|..d|...}..qQ|
|00000970| 00 01 57 64 06 00 53 28 | 07 00 00 00 73 1f 01 00 |..Wd..S(|....s...|
|00000980| 00 50 72 69 6e 74 20 75 | 70 20 74 6f 20 27 6c 69 |.Print u|p to 'li|
|00000990| 6d 69 74 27 20 73 74 61 | 63 6b 20 74 72 61 63 65 |mit' sta|ck trace|
|000009a0| 20 65 6e 74 72 69 65 73 | 20 66 72 6f 6d 20 74 68 | entries| from th|
|000009b0| 65 20 74 72 61 63 65 62 | 61 63 6b 20 27 74 62 27 |e traceb|ack 'tb'|
|000009c0| 2e 0a 0a 20 20 20 20 49 | 66 20 27 6c 69 6d 69 74 |... I|f 'limit|
|000009d0| 27 20 69 73 20 6f 6d 69 | 74 74 65 64 20 6f 72 20 |' is omi|tted or |
|000009e0| 4e 6f 6e 65 2c 20 61 6c | 6c 20 65 6e 74 72 69 65 |None, al|l entrie|
|000009f0| 73 20 61 72 65 20 70 72 | 69 6e 74 65 64 2e 20 20 |s are pr|inted. |
|00000a00| 49 66 20 27 66 69 6c 65 | 27 0a 20 20 20 20 69 73 |If 'file|'. is|
|00000a10| 20 6f 6d 69 74 74 65 64 | 20 6f 72 20 4e 6f 6e 65 | omitted| or None|
|00000a20| 2c 20 74 68 65 20 6f 75 | 74 70 75 74 20 67 6f 65 |, the ou|tput goe|
|00000a30| 73 20 74 6f 20 73 79 73 | 2e 73 74 64 65 72 72 3b |s to sys|.stderr;|
|00000a40| 20 6f 74 68 65 72 77 69 | 73 65 0a 20 20 20 20 27 | otherwi|se. '|
|00000a50| 66 69 6c 65 27 20 73 68 | 6f 75 6c 64 20 62 65 20 |file' sh|ould be |
|00000a60| 61 6e 20 6f 70 65 6e 20 | 66 69 6c 65 20 6f 72 20 |an open |file or |
|00000a70| 66 69 6c 65 2d 6c 69 6b | 65 20 6f 62 6a 65 63 74 |file-lik|e object|
|00000a80| 20 77 69 74 68 20 61 20 | 77 72 69 74 65 28 29 0a | with a |write().|
|00000a90| 20 20 20 20 6d 65 74 68 | 6f 64 2e 0a 20 20 20 20 | meth|od.. |
|00000aa0| 74 0e 00 00 00 74 72 61 | 63 65 62 61 63 6b 6c 69 |t....tra|cebackli|
|00000ab0| 6d 69 74 69 00 00 00 00 | 73 1b 00 00 00 20 20 46 |miti....|s.... F|
|00000ac0| 69 6c 65 20 22 25 73 22 | 2c 20 6c 69 6e 65 20 25 |ile "%s"|, line %|
|00000ad0| 64 2c 20 69 6e 20 25 73 | 73 04 00 00 00 20 20 20 |d, in %s|s.... |
|00000ae0| 20 69 01 00 00 00 4e 28 | 1a 00 00 00 52 0f 00 00 | i....N(|....R...|
|00000af0| 00 52 15 00 00 00 52 16 | 00 00 00 52 17 00 00 00 |.R....R.|...R....|
|00000b00| 74 05 00 00 00 6c 69 6d | 69 74 74 07 00 00 00 68 |t....lim|itt....h|
|00000b10| 61 73 61 74 74 72 52 22 | 00 00 00 74 01 00 00 00 |asattrR"|...t....|
|00000b20| 6e 74 02 00 00 00 74 62 | 74 08 00 00 00 74 62 5f |nt....tb|t....tb_|
|00000b30| 66 72 61 6d 65 74 01 00 | 00 00 66 52 0d 00 00 00 |framet..|..fR....|
|00000b40| 52 1a 00 00 00 74 06 00 | 00 00 66 5f 63 6f 64 65 |R....t..|..f_code|
|00000b50| 74 02 00 00 00 63 6f 74 | 0b 00 00 00 63 6f 5f 66 |t....cot|....co_f|
|00000b60| 69 6c 65 6e 61 6d 65 52 | 19 00 00 00 74 07 00 00 |ilenameR|....t...|
|00000b70| 00 63 6f 5f 6e 61 6d 65 | 52 1b 00 00 00 52 14 00 |.co_name|R....R..|
|00000b80| 00 00 74 09 00 00 00 6c | 69 6e 65 63 61 63 68 65 |..t....l|inecache|
|00000b90| 74 0a 00 00 00 63 68 65 | 63 6b 63 61 63 68 65 74 |t....che|ckcachet|
|00000ba0| 07 00 00 00 67 65 74 6c | 69 6e 65 52 1c 00 00 00 |....getl|ineR....|
|00000bb0| 52 1d 00 00 00 74 07 00 | 00 00 74 62 5f 6e 65 78 |R....t..|..tb_nex|
|00000bc0| 74 28 0a 00 00 00 52 26 | 00 00 00 52 23 00 00 00 |t(....R&|...R#...|
|00000bd0| 52 0f 00 00 00 52 2a 00 | 00 00 52 1b 00 00 00 52 |R....R*.|..R....R|
|00000be0| 28 00 00 00 52 25 00 00 | 00 52 1a 00 00 00 52 1c |(...R%..|.R....R.|
|00000bf0| 00 00 00 52 19 00 00 00 | 28 00 00 00 00 28 00 00 |...R....|(....(..|
|00000c00| 00 00 52 13 00 00 00 52 | 0c 00 00 00 2e 00 00 00 |..R....R|........|
|00000c10| 73 2c 00 00 00 00 07 00 | 01 0d 01 0d 01 0d 01 10 |s,......|........|
|00000c20| 01 11 01 06 01 03 00 27 | 01 09 01 09 01 09 01 09 |.......'|........|
|00000c30| 01 09 01 06 01 14 01 0d | 01 12 01 07 00 1b 01 09 |........|........|
|00000c40| 01 63 02 00 00 00 02 00 | 00 00 04 00 00 00 43 00 |.c......|......C.|
|00000c50| 00 00 73 13 00 00 00 74 | 00 00 74 01 00 7c 00 00 |..s....t|..t..|..|
|00000c60| 7c 01 00 83 02 00 83 01 | 00 53 28 02 00 00 00 73 ||.......|.S(....s|
|00000c70| 36 00 00 00 41 20 73 68 | 6f 72 74 68 61 6e 64 20 |6...A sh|orthand |
|00000c80| 66 6f 72 20 27 66 6f 72 | 6d 61 74 5f 6c 69 73 74 |for 'for|mat_list|
|00000c90| 28 65 78 74 72 61 63 74 | 5f 73 74 61 63 6b 28 66 |(extract|_stack(f|
|00000ca0| 2c 20 6c 69 6d 69 74 29 | 29 2e 4e 28 04 00 00 00 |, limit)|).N(....|
|00000cb0| 52 04 00 00 00 52 01 00 | 00 00 52 26 00 00 00 52 |R....R..|..R&...R|
|00000cc0| 23 00 00 00 28 02 00 00 | 00 52 26 00 00 00 52 23 |#...(...|.R&...R#|
|00000cd0| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 13 00 |...(....|(....R..|
|00000ce0| 00 00 52 06 00 00 00 4a | 00 00 00 73 04 00 00 00 |..R....J|...s....|
|00000cf0| 00 01 00 01 63 02 00 00 | 00 0a 00 00 00 05 00 00 |....c...|........|
|00000d00| 00 43 00 00 00 73 02 01 | 00 00 7c 01 00 64 04 00 |.C...s..|..|..d..|
|00000d10| 6a 08 00 6f 21 00 01 74 | 02 00 74 03 00 64 01 00 |j..o!..t|..t..d..|
|00000d20| 83 02 00 6f 0d 00 01 74 | 03 00 69 04 00 7d 01 00 |...o...t|..i..}..|
|00000d30| 71 2e 00 01 6e 01 00 01 | 67 00 00 7d 05 00 64 02 |q...n...|g..}..d.|
|00000d40| 00 7d 06 00 78 c1 00 7c | 00 00 64 04 00 6a 09 00 |.}..x..||..d..j..|
|00000d50| 6f b3 00 01 7c 01 00 64 | 04 00 6a 08 00 70 0d 00 |o...|..d|..j..p..|
|00000d60| 01 7c 06 00 7c 01 00 6a | 00 00 6f 99 00 01 7c 00 |.|..|..j|..o...|.|
|00000d70| 00 69 08 00 7d 04 00 7c | 00 00 69 0a 00 7d 07 00 |.i..}..||..i..}..|
|00000d80| 7c 04 00 69 0c 00 7d 02 | 00 7c 02 00 69 0e 00 7d ||..i..}.|.|..i..}|
|00000d90| 09 00 7c 02 00 69 10 00 | 7d 03 00 74 12 00 69 13 |..|..i..|}..t..i.|
|00000da0| 00 7c 09 00 83 01 00 01 | 74 12 00 69 14 00 7c 09 |.|......|t..i..|.|
|00000db0| 00 7c 07 00 83 02 00 7d | 08 00 7c 08 00 6f 10 00 |.|.....}|..|..o..|
|00000dc0| 01 7c 08 00 69 16 00 83 | 00 00 7d 08 00 6e 07 00 |.|..i...|..}..n..|
|00000dd0| 01 64 04 00 7d 08 00 7c | 05 00 69 17 00 7c 09 00 |.d..}..||..i..|..|
|00000de0| 7c 07 00 7c 03 00 7c 08 | 00 66 04 00 83 01 00 01 ||..|..|.|.f......|
|00000df0| 7c 00 00 69 18 00 7d 00 | 00 7c 06 00 64 03 00 17 ||..i..}.|.|..d...|
|00000e00| 7d 06 00 71 3d 00 01 57 | 7c 05 00 53 28 05 00 00 |}..q=..W||..S(...|
|00000e10| 00 73 ed 01 00 00 52 65 | 74 75 72 6e 20 6c 69 73 |.s....Re|turn lis|
|00000e20| 74 20 6f 66 20 75 70 20 | 74 6f 20 6c 69 6d 69 74 |t of up |to limit|
|00000e30| 20 70 72 65 2d 70 72 6f | 63 65 73 73 65 64 20 65 | pre-pro|cessed e|
|00000e40| 6e 74 72 69 65 73 20 66 | 72 6f 6d 20 74 72 61 63 |ntries f|rom trac|
|00000e50| 65 62 61 63 6b 2e 0a 0a | 20 20 20 20 54 68 69 73 |eback...| This|
|00000e60| 20 69 73 20 75 73 65 66 | 75 6c 20 66 6f 72 20 61 | is usef|ul for a|
|00000e70| 6c 74 65 72 6e 61 74 65 | 20 66 6f 72 6d 61 74 74 |lternate| formatt|
|00000e80| 69 6e 67 20 6f 66 20 73 | 74 61 63 6b 20 74 72 61 |ing of s|tack tra|
|00000e90| 63 65 73 2e 20 20 49 66 | 0a 20 20 20 20 27 6c 69 |ces. If|. 'li|
|00000ea0| 6d 69 74 27 20 69 73 20 | 6f 6d 69 74 74 65 64 20 |mit' is |omitted |
|00000eb0| 6f 72 20 4e 6f 6e 65 2c | 20 61 6c 6c 20 65 6e 74 |or None,| all ent|
|00000ec0| 72 69 65 73 20 61 72 65 | 20 65 78 74 72 61 63 74 |ries are| extract|
|00000ed0| 65 64 2e 20 20 41 0a 20 | 20 20 20 70 72 65 2d 70 |ed. A. | pre-p|
|00000ee0| 72 6f 63 65 73 73 65 64 | 20 73 74 61 63 6b 20 74 |rocessed| stack t|
|00000ef0| 72 61 63 65 20 65 6e 74 | 72 79 20 69 73 20 61 20 |race ent|ry is a |
|00000f00| 71 75 61 64 72 75 70 6c | 65 20 28 66 69 6c 65 6e |quadrupl|e (filen|
|00000f10| 61 6d 65 2c 20 6c 69 6e | 65 0a 20 20 20 20 6e 75 |ame, lin|e. nu|
|00000f20| 6d 62 65 72 2c 20 66 75 | 6e 63 74 69 6f 6e 20 6e |mber, fu|nction n|
|00000f30| 61 6d 65 2c 20 74 65 78 | 74 29 20 72 65 70 72 65 |ame, tex|t) repre|
|00000f40| 73 65 6e 74 69 6e 67 20 | 74 68 65 20 69 6e 66 6f |senting |the info|
|00000f50| 72 6d 61 74 69 6f 6e 20 | 74 68 61 74 20 69 73 0a |rmation |that is.|
|00000f60| 20 20 20 20 75 73 75 61 | 6c 6c 79 20 70 72 69 6e | usua|lly prin|
|00000f70| 74 65 64 20 66 6f 72 20 | 61 20 73 74 61 63 6b 20 |ted for |a stack |
|00000f80| 74 72 61 63 65 2e 20 20 | 54 68 65 20 74 65 78 74 |trace. |The text|
|00000f90| 20 69 73 20 61 20 73 74 | 72 69 6e 67 20 77 69 74 | is a st|ring wit|
|00000fa0| 68 0a 20 20 20 20 6c 65 | 61 64 69 6e 67 20 61 6e |h. le|ading an|
|00000fb0| 64 20 74 72 61 69 6c 69 | 6e 67 20 77 68 69 74 65 |d traili|ng white|
|00000fc0| 73 70 61 63 65 20 73 74 | 72 69 70 70 65 64 3b 20 |space st|ripped; |
|00000fd0| 69 66 20 74 68 65 20 73 | 6f 75 72 63 65 20 69 73 |if the s|ource is|
|00000fe0| 20 6e 6f 74 0a 20 20 20 | 20 61 76 61 69 6c 61 62 | not. | availab|
|00000ff0| 6c 65 20 69 74 20 69 73 | 20 4e 6f 6e 65 2e 0a 20 |le it is| None.. |
|00001000| 20 20 20 52 22 00 00 00 | 69 00 00 00 00 69 01 00 | R"...|i....i..|
|00001010| 00 00 4e 28 19 00 00 00 | 52 23 00 00 00 52 15 00 |..N(....|R#...R..|
|00001020| 00 00 52 24 00 00 00 52 | 16 00 00 00 52 22 00 00 |..R$...R|....R"..|
|00001030| 00 52 1f 00 00 00 52 25 | 00 00 00 52 26 00 00 00 |.R....R%|...R&...|
|00001040| 52 27 00 00 00 52 28 00 | 00 00 52 0d 00 00 00 52 |R'...R(.|..R....R|
|00001050| 1a 00 00 00 52 29 00 00 | 00 52 2a 00 00 00 52 2b |....R)..|.R*...R+|
|00001060| 00 00 00 52 19 00 00 00 | 52 2c 00 00 00 52 1b 00 |...R....|R,...R..|
|00001070| 00 00 52 2d 00 00 00 52 | 2e 00 00 00 52 2f 00 00 |..R-...R|....R/..|
|00001080| 00 52 1c 00 00 00 52 1d | 00 00 00 52 21 00 00 00 |.R....R.|...R!...|
|00001090| 52 30 00 00 00 28 0a 00 | 00 00 52 26 00 00 00 52 |R0...(..|..R&...R|
|000010a0| 23 00 00 00 52 2a 00 00 | 00 52 1b 00 00 00 52 28 |#...R*..|.R....R(|
|000010b0| 00 00 00 52 1f 00 00 00 | 52 25 00 00 00 52 1a 00 |...R....|R%...R..|
|000010c0| 00 00 52 1c 00 00 00 52 | 19 00 00 00 28 00 00 00 |..R....R|....(...|
|000010d0| 00 28 00 00 00 00 52 13 | 00 00 00 52 01 00 00 00 |.(....R.|...R....|
|000010e0| 4e 00 00 00 73 2c 00 00 | 00 00 0a 00 01 0d 01 10 |N...s,..|........|
|000010f0| 01 11 01 06 01 06 01 03 | 00 27 01 09 01 09 01 09 |........|.'......|
|00001100| 01 09 01 09 01 0d 01 12 | 01 07 00 10 01 06 01 19 |........|........|
|00001110| 01 09 01 0f 01 63 05 00 | 00 00 07 00 00 00 05 00 |.....c..|........|
|00001120| 00 00 43 00 00 00 73 8e | 00 00 00 7c 04 00 64 05 |..C...s.|...|..d.|
|00001130| 00 6a 08 00 6f 0d 00 01 | 74 02 00 69 03 00 7d 04 |.j..o...|t..i..}.|
|00001140| 00 6e 01 00 01 7c 02 00 | 6f 21 00 01 74 05 00 7c |.n...|..|o!..t..||
|00001150| 04 00 64 01 00 83 02 00 | 01 74 06 00 7c 02 00 7c |..d.....|.t..|..||
|00001160| 03 00 7c 04 00 83 03 00 | 01 6e 01 00 01 74 08 00 |..|.....|.n...t..|
|00001170| 7c 00 00 7c 01 00 83 02 | 00 7d 05 00 78 22 00 7c ||..|....|.}..x".||
|00001180| 05 00 64 02 00 20 44 5d | 16 00 7d 06 00 74 05 00 |..d.. D]|..}..t..|
|00001190| 7c 04 00 7c 06 00 64 03 | 00 83 03 00 01 71 5c 00 ||..|..d.|.....q\.|
|000011a0| 57 74 05 00 7c 04 00 7c | 05 00 64 02 00 19 64 04 |Wt..|..||..d...d.|
|000011b0| 00 83 03 00 01 64 05 00 | 53 28 06 00 00 00 73 f9 |.....d..|S(....s.|
|000011c0| 01 00 00 50 72 69 6e 74 | 20 65 78 63 65 70 74 69 |...Print| excepti|
|000011d0| 6f 6e 20 75 70 20 74 6f | 20 27 6c 69 6d 69 74 27 |on up to| 'limit'|
|000011e0| 20 73 74 61 63 6b 20 74 | 72 61 63 65 20 65 6e 74 | stack t|race ent|
|000011f0| 72 69 65 73 20 66 72 6f | 6d 20 27 74 62 27 20 74 |ries fro|m 'tb' t|
|00001200| 6f 20 27 66 69 6c 65 27 | 2e 0a 0a 20 20 20 20 54 |o 'file'|... T|
|00001210| 68 69 73 20 64 69 66 66 | 65 72 73 20 66 72 6f 6d |his diff|ers from|
|00001220| 20 70 72 69 6e 74 5f 74 | 62 28 29 20 69 6e 20 74 | print_t|b() in t|
|00001230| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 77 61 79 |he follo|wing way|
|00001240| 73 3a 20 28 31 29 20 69 | 66 0a 20 20 20 20 74 72 |s: (1) i|f. tr|
|00001250| 61 63 65 62 61 63 6b 20 | 69 73 20 6e 6f 74 20 4e |aceback |is not N|
|00001260| 6f 6e 65 2c 20 69 74 20 | 70 72 69 6e 74 73 20 61 |one, it |prints a|
|00001270| 20 68 65 61 64 65 72 20 | 22 54 72 61 63 65 62 61 | header |"Traceba|
|00001280| 63 6b 20 28 6d 6f 73 74 | 20 72 65 63 65 6e 74 0a |ck (most| recent.|
|00001290| 20 20 20 20 63 61 6c 6c | 20 6c 61 73 74 29 3a 22 | call| last):"|
|000012a0| 3b 20 28 32 29 20 69 74 | 20 70 72 69 6e 74 73 20 |; (2) it| prints |
|000012b0| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 20 74 79 |the exce|ption ty|
|000012c0| 70 65 20 61 6e 64 20 76 | 61 6c 75 65 20 61 66 74 |pe and v|alue aft|
|000012d0| 65 72 20 74 68 65 0a 20 | 20 20 20 73 74 61 63 6b |er the. | stack|
|000012e0| 20 74 72 61 63 65 3b 20 | 28 33 29 20 69 66 20 74 | trace; |(3) if t|
|000012f0| 79 70 65 20 69 73 20 53 | 79 6e 74 61 78 45 72 72 |ype is S|yntaxErr|
|00001300| 6f 72 20 61 6e 64 20 76 | 61 6c 75 65 20 68 61 73 |or and v|alue has|
|00001310| 20 74 68 65 0a 20 20 20 | 20 61 70 70 72 6f 70 72 | the. | appropr|
|00001320| 69 61 74 65 20 66 6f 72 | 6d 61 74 2c 20 69 74 20 |iate for|mat, it |
|00001330| 70 72 69 6e 74 73 20 74 | 68 65 20 6c 69 6e 65 20 |prints t|he line |
|00001340| 77 68 65 72 65 20 74 68 | 65 20 73 79 6e 74 61 78 |where th|e syntax|
|00001350| 20 65 72 72 6f 72 0a 20 | 20 20 20 6f 63 63 75 72 | error. | occur|
|00001360| 72 65 64 20 77 69 74 68 | 20 61 20 63 61 72 65 74 |red with| a caret|
|00001370| 20 6f 6e 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e | on the |next lin|
|00001380| 65 20 69 6e 64 69 63 61 | 74 69 6e 67 20 74 68 65 |e indica|ting the|
|00001390| 20 61 70 70 72 6f 78 69 | 6d 61 74 65 0a 20 20 20 | approxi|mate. |
|000013a0| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 74 68 65 | positio|n of the|
|000013b0| 20 65 72 72 6f 72 2e 0a | 20 20 20 20 73 22 00 00 | error..| s"..|
|000013c0| 00 54 72 61 63 65 62 61 | 63 6b 20 28 6d 6f 73 74 |.Traceba|ck (most|
|000013d0| 20 72 65 63 65 6e 74 20 | 63 61 6c 6c 20 6c 61 73 | recent |call las|
|000013e0| 74 29 3a 69 ff ff ff ff | 74 01 00 00 00 20 52 0e |t):i....|t.... R.|
|000013f0| 00 00 00 4e 28 0d 00 00 | 00 52 0f 00 00 00 52 15 |...N(...|.R....R.|
|00001400| 00 00 00 52 16 00 00 00 | 52 17 00 00 00 52 26 00 |...R....|R....R&.|
|00001410| 00 00 52 14 00 00 00 52 | 0c 00 00 00 52 23 00 00 |..R....R|....R#..|
|00001420| 00 52 03 00 00 00 74 05 | 00 00 00 65 74 79 70 65 |.R....t.|...etype|
|00001430| 74 05 00 00 00 76 61 6c | 75 65 74 05 00 00 00 6c |t....val|uet....l|
|00001440| 69 6e 65 73 52 1c 00 00 | 00 28 07 00 00 00 52 32 |inesR...|.(....R2|
|00001450| 00 00 00 52 33 00 00 00 | 52 26 00 00 00 52 23 00 |...R3...|R&...R#.|
|00001460| 00 00 52 0f 00 00 00 52 | 34 00 00 00 52 1c 00 00 |..R....R|4...R...|
|00001470| 00 28 00 00 00 00 28 00 | 00 00 00 52 13 00 00 00 |.(....(.|...R....|
|00001480| 52 09 00 00 00 6e 00 00 | 00 73 16 00 00 00 00 0a |R....n..|.s......|
|00001490| 00 01 0d 01 0d 01 07 01 | 0d 01 14 01 0f 01 0b 00 |........|........|
|000014a0| 06 01 14 01 63 04 00 00 | 00 05 00 00 00 04 00 00 |....c...|........|
|000014b0| 00 43 00 00 00 73 44 00 | 00 00 7c 02 00 6f 20 00 |.C...sD.|..|..o .|
|000014c0| 01 64 01 00 67 01 00 7d | 04 00 7c 04 00 74 02 00 |.d..g..}|..|..t..|
|000014d0| 7c 02 00 7c 03 00 83 02 | 00 17 7d 04 00 6e 07 00 ||..|....|..}..n..|
|000014e0| 01 67 00 00 7d 04 00 7c | 04 00 74 04 00 7c 00 00 |.g..}..||..t..|..|
|000014f0| 7c 01 00 83 02 00 17 7d | 04 00 7c 04 00 53 28 03 ||......}|..|..S(.|
|00001500| 00 00 00 73 7a 01 00 00 | 46 6f 72 6d 61 74 20 61 |...sz...|Format a|
|00001510| 20 73 74 61 63 6b 20 74 | 72 61 63 65 20 61 6e 64 | stack t|race and|
|00001520| 20 74 68 65 20 65 78 63 | 65 70 74 69 6f 6e 20 69 | the exc|eption i|
|00001530| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 0a 0a 20 20 20 |nformati|on... |
|00001540| 20 54 68 65 20 61 72 67 | 75 6d 65 6e 74 73 20 68 | The arg|uments h|
|00001550| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 6d 65 61 |ave the |same mea|
|00001560| 6e 69 6e 67 20 61 73 20 | 74 68 65 20 63 6f 72 72 |ning as |the corr|
|00001570| 65 73 70 6f 6e 64 69 6e | 67 20 61 72 67 75 6d 65 |espondin|g argume|
|00001580| 6e 74 73 0a 20 20 20 20 | 74 6f 20 70 72 69 6e 74 |nts. |to print|
|00001590| 5f 65 78 63 65 70 74 69 | 6f 6e 28 29 2e 20 20 54 |_excepti|on(). T|
|000015a0| 68 65 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 20 |he retur|n value |
|000015b0| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 73 74 72 |is a lis|t of str|
|000015c0| 69 6e 67 73 2c 20 65 61 | 63 68 0a 20 20 20 20 65 |ings, ea|ch. e|
|000015d0| 6e 64 69 6e 67 20 69 6e | 20 61 20 6e 65 77 6c 69 |nding in| a newli|
|000015e0| 6e 65 20 61 6e 64 20 73 | 6f 6d 65 20 63 6f 6e 74 |ne and s|ome cont|
|000015f0| 61 69 6e 69 6e 67 20 69 | 6e 74 65 72 6e 61 6c 20 |aining i|nternal |
|00001600| 6e 65 77 6c 69 6e 65 73 | 2e 20 20 57 68 65 6e 0a |newlines|. When.|
|00001610| 20 20 20 20 74 68 65 73 | 65 20 6c 69 6e 65 73 20 | thes|e lines |
|00001620| 61 72 65 20 63 6f 6e 63 | 61 74 65 6e 61 74 65 64 |are conc|atenated|
|00001630| 20 61 6e 64 20 70 72 69 | 6e 74 65 64 2c 20 65 78 | and pri|nted, ex|
|00001640| 61 63 74 6c 79 20 74 68 | 65 20 73 61 6d 65 20 74 |actly th|e same t|
|00001650| 65 78 74 20 69 73 0a 20 | 20 20 20 70 72 69 6e 74 |ext is. | print|
|00001660| 65 64 20 61 73 20 64 6f | 65 73 20 70 72 69 6e 74 |ed as do|es print|
|00001670| 5f 65 78 63 65 70 74 69 | 6f 6e 28 29 2e 0a 20 20 |_excepti|on().. |
|00001680| 20 20 73 23 00 00 00 54 | 72 61 63 65 62 61 63 6b | s#...T|raceback|
|00001690| 20 28 6d 6f 73 74 20 72 | 65 63 65 6e 74 20 63 61 | (most r|ecent ca|
|000016a0| 6c 6c 20 6c 61 73 74 29 | 3a 0a 4e 28 07 00 00 00 |ll last)|:.N(....|
|000016b0| 52 26 00 00 00 52 1f 00 | 00 00 52 06 00 00 00 52 |R&...R..|..R....R|
|000016c0| 23 00 00 00 52 03 00 00 | 00 52 32 00 00 00 52 33 |#...R...|.R2...R3|
|000016d0| 00 00 00 28 05 00 00 00 | 52 32 00 00 00 52 33 00 |...(....|R2...R3.|
|000016e0| 00 00 52 26 00 00 00 52 | 23 00 00 00 52 1f 00 00 |..R&...R|#...R...|
|000016f0| 00 28 00 00 00 00 28 00 | 00 00 00 52 13 00 00 00 |.(....(.|...R....|
|00001700| 52 02 00 00 00 83 00 00 | 00 73 0e 00 00 00 00 08 |R.......|.s......|
|00001710| 00 01 07 01 09 01 17 02 | 06 01 13 01 63 02 00 00 |........|....c...|
|00001720| 00 0c 00 00 00 04 00 00 | 00 43 00 00 00 73 d8 01 |........|.C...s..|
|00001730| 00 00 67 00 00 7d 03 00 | 74 01 00 7c 00 00 83 01 |..g..}..|t..|....|
|00001740| 00 74 03 00 69 04 00 6a | 02 00 6f 0d 00 01 7c 00 |.t..i..j|..o...|.|
|00001750| 00 69 05 00 7d 08 00 6e | 07 00 01 7c 00 00 7d 08 |.i..}..n|...|..}.|
|00001760| 00 7c 01 00 64 0c 00 6a | 08 00 6f 1b 00 01 7c 03 |.|..d..j|..o...|.|
|00001770| 00 69 09 00 74 0a 00 7c | 08 00 83 01 00 64 01 00 |.i..t..||.....d..|
|00001780| 17 83 01 00 01 6e 7e 01 | 01 7c 00 00 74 0b 00 6a |.....n~.|.|..t..j|
|00001790| 08 00 6f 25 01 01 79 1c | 00 7c 01 00 5c 02 00 7d |..o%..y.|.|..\..}|
|000017a0| 06 00 5c 04 00 7d 05 00 | 7d 0b 00 7d 09 00 7d 0a |..\..}..|}..}..}.|
|000017b0| 00 57 6e 07 00 01 01 01 | 71 89 01 58 7c 05 00 70 |.Wn.....|q..X|..p|
|000017c0| 0a 00 01 64 02 00 7d 05 | 00 6e 01 00 01 7c 03 00 |...d..}.|.n...|..|
|000017d0| 69 09 00 64 03 00 7c 05 | 00 7c 0b 00 66 02 00 16 |i..d..|.|.|..f...|
|000017e0| 83 01 00 01 7c 0a 00 64 | 0c 00 6a 09 00 6f c6 00 |....|..d|..j..o..|
|000017f0| 01 64 04 00 7d 02 00 78 | 33 00 7c 02 00 74 12 00 |.d..}..x|3.|..t..|
|00001800| 7c 0a 00 83 01 00 6a 00 | 00 6f 1f 00 01 7c 0a 00 ||.....j.|.o...|..|
|00001810| 7c 02 00 19 69 13 00 83 | 00 00 6f 0e 00 01 7c 02 ||...i...|..o...|.|
|00001820| 00 64 05 00 17 7d 02 00 | 71 c8 00 01 57 7c 03 00 |.d...}..|q...W|..|
|00001830| 69 09 00 64 06 00 7c 0a | 00 69 14 00 83 00 00 16 |i..d..|.|.i......|
|00001840| 83 01 00 01 7c 09 00 64 | 0c 00 6a 09 00 6f 5c 00 |....|..d|..j..o\.|
|00001850| 01 64 07 00 7d 07 00 78 | 3e 00 7c 0a 00 7c 02 00 |.d..}..x|>.|..|..|
|00001860| 7c 09 00 64 05 00 18 21 | 44 5d 2b 00 7d 04 00 7c ||..d...!|D]+.}..||
|00001870| 04 00 69 13 00 83 00 00 | 6f 0e 00 01 7c 07 00 7c |..i.....|o...|..||
|00001880| 04 00 17 7d 07 00 71 37 | 01 01 7c 07 00 64 08 00 |...}..q7|..|..d..|
|00001890| 17 7d 07 00 71 37 01 57 | 7c 03 00 69 09 00 64 09 |.}..q7.W||..i..d.|
|000018a0| 00 7c 07 00 16 83 01 00 | 01 6e 01 00 01 7c 06 00 |.|......|.n...|..|
|000018b0| 7d 01 00 71 89 01 01 6e | 01 00 01 74 17 00 7c 01 |}..q...n|...t..|.|
|000018c0| 00 83 01 00 7d 07 00 7c | 07 00 6f 21 00 01 7c 03 |....}..||..o!..|.|
|000018d0| 00 69 09 00 64 0a 00 74 | 0a 00 7c 08 00 83 01 00 |.i..d..t|..|.....|
|000018e0| 7c 07 00 66 02 00 16 83 | 01 00 01 6e 18 00 01 7c ||..f....|...n...||
|000018f0| 03 00 69 09 00 64 0b 00 | 74 0a 00 7c 08 00 83 01 |..i..d..|t..|....|
|00001900| 00 16 83 01 00 01 7c 03 | 00 53 28 0d 00 00 00 73 |......|.|.S(....s|
|00001910| 0b 02 00 00 46 6f 72 6d | 61 74 20 74 68 65 20 65 |....Form|at the e|
|00001920| 78 63 65 70 74 69 6f 6e | 20 70 61 72 74 20 6f 66 |xception| part of|
|00001930| 20 61 20 74 72 61 63 65 | 62 61 63 6b 2e 0a 0a 20 | a trace|back... |
|00001940| 20 20 20 54 68 65 20 61 | 72 67 75 6d 65 6e 74 73 | The a|rguments|
|00001950| 20 61 72 65 20 74 68 65 | 20 65 78 63 65 70 74 69 | are the| excepti|
|00001960| 6f 6e 20 74 79 70 65 20 | 61 6e 64 20 76 61 6c 75 |on type |and valu|
|00001970| 65 20 73 75 63 68 20 61 | 73 20 67 69 76 65 6e 20 |e such a|s given |
|00001980| 62 79 0a 20 20 20 20 73 | 79 73 2e 6c 61 73 74 5f |by. s|ys.last_|
|00001990| 74 79 70 65 20 61 6e 64 | 20 73 79 73 2e 6c 61 73 |type and| sys.las|
|000019a0| 74 5f 76 61 6c 75 65 2e | 20 54 68 65 20 72 65 74 |t_value.| The ret|
|000019b0| 75 72 6e 20 76 61 6c 75 | 65 20 69 73 20 61 20 6c |urn valu|e is a l|
|000019c0| 69 73 74 20 6f 66 0a 20 | 20 20 20 73 74 72 69 6e |ist of. | strin|
|000019d0| 67 73 2c 20 65 61 63 68 | 20 65 6e 64 69 6e 67 20 |gs, each| ending |
|000019e0| 69 6e 20 61 20 6e 65 77 | 6c 69 6e 65 2e 20 20 4e |in a new|line. N|
|000019f0| 6f 72 6d 61 6c 6c 79 2c | 20 74 68 65 20 6c 69 73 |ormally,| the lis|
|00001a00| 74 20 63 6f 6e 74 61 69 | 6e 73 20 61 0a 20 20 20 |t contai|ns a. |
|00001a10| 20 73 69 6e 67 6c 65 20 | 73 74 72 69 6e 67 3b 20 | single |string; |
|00001a20| 68 6f 77 65 76 65 72 2c | 20 66 6f 72 20 53 79 6e |however,| for Syn|
|00001a30| 74 61 78 45 72 72 6f 72 | 20 65 78 63 65 70 74 69 |taxError| excepti|
|00001a40| 6f 6e 73 2c 20 69 74 20 | 63 6f 6e 74 61 69 6e 73 |ons, it |contains|
|00001a50| 0a 20 20 20 20 73 65 76 | 65 72 61 6c 20 6c 69 6e |. sev|eral lin|
|00001a60| 65 73 20 74 68 61 74 20 | 28 77 68 65 6e 20 70 72 |es that |(when pr|
|00001a70| 69 6e 74 65 64 29 20 64 | 69 73 70 6c 61 79 20 64 |inted) d|isplay d|
|00001a80| 65 74 61 69 6c 65 64 20 | 69 6e 66 6f 72 6d 61 74 |etailed |informat|
|00001a90| 69 6f 6e 0a 20 20 20 20 | 61 62 6f 75 74 20 77 68 |ion. |about wh|
|00001aa0| 65 72 65 20 74 68 65 20 | 73 79 6e 74 61 78 20 65 |ere the |syntax e|
|00001ab0| 72 72 6f 72 20 6f 63 63 | 75 72 72 65 64 2e 20 20 |rror occ|urred. |
|00001ac0| 54 68 65 20 6d 65 73 73 | 61 67 65 20 69 6e 64 69 |The mess|age indi|
|00001ad0| 63 61 74 69 6e 67 0a 20 | 20 20 20 77 68 69 63 68 |cating. | which|
|00001ae0| 20 65 78 63 65 70 74 69 | 6f 6e 20 6f 63 63 75 72 | excepti|on occur|
|00001af0| 72 65 64 20 69 73 20 74 | 68 65 20 61 6c 77 61 79 |red is t|he alway|
|00001b00| 73 20 6c 61 73 74 20 73 | 74 72 69 6e 67 20 69 6e |s last s|tring in|
|00001b10| 20 74 68 65 20 6c 69 73 | 74 2e 0a 20 20 20 20 73 | the lis|t.. s|
|00001b20| 01 00 00 00 0a 73 08 00 | 00 00 3c 73 74 72 69 6e |.....s..|..<strin|
|00001b30| 67 3e 73 15 00 00 00 20 | 20 46 69 6c 65 20 22 25 |g>s.... | File "%|
|00001b40| 73 22 2c 20 6c 69 6e 65 | 20 25 64 0a 69 00 00 00 |s", line| %d.i...|
|00001b50| 00 69 01 00 00 00 73 07 | 00 00 00 20 20 20 20 25 |.i....s.|... %|
|00001b60| 73 0a 73 04 00 00 00 20 | 20 20 20 52 31 00 00 00 |s.s.... | R1...|
|00001b70| 73 04 00 00 00 25 73 5e | 0a 73 07 00 00 00 25 73 |s....%s^|.s....%s|
|00001b80| 3a 20 25 73 0a 73 03 00 | 00 00 25 73 0a 4e 28 18 |: %s.s..|..%s.N(.|
|00001b90| 00 00 00 52 1f 00 00 00 | 74 04 00 00 00 74 79 70 |...R....|t....typ|
|00001ba0| 65 52 32 00 00 00 74 05 | 00 00 00 74 79 70 65 73 |eR2...t.|...types|
|00001bb0| 74 09 00 00 00 43 6c 61 | 73 73 54 79 70 65 74 08 |t....Cla|ssTypet.|
|00001bc0| 00 00 00 5f 5f 6e 61 6d | 65 5f 5f 74 05 00 00 00 |...__nam|e__t....|
|00001bd0| 73 74 79 70 65 52 33 00 | 00 00 52 15 00 00 00 52 |stypeR3.|..R....R|
|00001be0| 21 00 00 00 52 11 00 00 | 00 74 0b 00 00 00 53 79 |!...R...|.t....Sy|
|00001bf0| 6e 74 61 78 45 72 72 6f | 72 74 03 00 00 00 6d 73 |ntaxErro|rt....ms|
|00001c00| 67 52 19 00 00 00 52 1a | 00 00 00 74 06 00 00 00 |gR....R.|...t....|
|00001c10| 6f 66 66 73 65 74 52 1c | 00 00 00 74 01 00 00 00 |offsetR.|...t....|
|00001c20| 69 74 03 00 00 00 6c 65 | 6e 74 07 00 00 00 69 73 |it....le|nt....is|
|00001c30| 73 70 61 63 65 52 1d 00 | 00 00 74 01 00 00 00 73 |spaceR..|..t....s|
|00001c40| 74 01 00 00 00 63 74 09 | 00 00 00 5f 73 6f 6d 65 |t....ct.|..._some|
|00001c50| 5f 73 74 72 28 0c 00 00 | 00 52 32 00 00 00 52 33 |_str(...|.R2...R3|
|00001c60| 00 00 00 52 3d 00 00 00 | 52 1f 00 00 00 52 41 00 |...R=...|R....RA.|
|00001c70| 00 00 52 19 00 00 00 52 | 3b 00 00 00 52 40 00 00 |..R....R|;...R@..|
|00001c80| 00 52 39 00 00 00 52 3c | 00 00 00 52 1c 00 00 00 |.R9...R<|...R....|
|00001c90| 52 1a 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|00001ca0| 13 00 00 00 52 03 00 00 | 00 94 00 00 00 73 46 00 |....R...|.....sF.|
|00001cb0| 00 00 00 0a 00 01 06 01 | 16 01 0d 02 06 01 0d 01 |........|........|
|00001cc0| 1b 02 0d 01 03 01 1c 01 | 03 01 04 02 07 00 0a 01 |........|........|
|00001cd0| 17 02 0d 01 06 01 03 00 | 24 01 0f 01 17 01 0d 01 |........|$.......|
|00001ce0| 06 01 12 00 06 01 0d 01 | 0e 02 0e 01 15 01 0e 01 |........|........|
|00001cf0| 0c 01 07 01 21 02 17 01 | 63 01 00 00 00 01 00 00 |....!...|c.......|
|00001d00| 00 03 00 00 00 43 00 00 | 00 73 2d 00 00 00 79 0e |.....C..|.s-...y.|
|00001d10| 00 74 00 00 7c 00 00 83 | 01 00 53 57 6e 18 00 01 |.t..|...|..SWn...|
|00001d20| 01 01 64 01 00 74 02 00 | 7c 00 00 83 01 00 69 03 |..d..t..||.....i.|
|00001d30| 00 16 53 6e 01 00 58 64 | 00 00 53 28 02 00 00 00 |..Sn..Xd|..S(....|
|00001d40| 4e 73 17 00 00 00 3c 75 | 6e 70 72 69 6e 74 61 62 |Ns....<u|nprintab|
|00001d50| 6c 65 20 25 73 20 6f 62 | 6a 65 63 74 3e 28 04 00 |le %s ob|ject>(..|
|00001d60| 00 00 52 11 00 00 00 52 | 33 00 00 00 52 35 00 00 |..R....R|3...R5..|
|00001d70| 00 52 38 00 00 00 28 01 | 00 00 00 52 33 00 00 00 |.R8...(.|...R3...|
|00001d80| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|00001d90| 42 00 00 00 c5 00 00 00 | 73 08 00 00 00 00 01 03 |B.......|s.......|
|00001da0| 01 0e 01 03 01 63 02 00 | 00 00 05 00 00 00 06 00 |.....c..|........|
|00001db0| 00 00 43 00 00 00 73 5f | 00 00 00 7c 01 00 64 01 |..C...s_|...|..d.|
|00001dc0| 00 6a 08 00 6f 0d 00 01 | 74 02 00 69 03 00 7d 01 |.j..o...|t..i..}.|
|00001dd0| 00 6e 01 00 01 7a 2f 00 | 74 02 00 69 04 00 83 00 |.n...z/.|t..i....|
|00001de0| 00 5c 03 00 7d 03 00 7d | 02 00 7d 04 00 74 08 00 |.\..}..}|..}..t..|
|00001df0| 7c 03 00 7c 02 00 7c 04 | 00 7c 00 00 7c 01 00 83 ||..|..|.|.|..|...|
|00001e00| 05 00 01 57 64 01 00 64 | 01 00 04 7d 03 00 04 7d |...Wd..d|...}...}|
|00001e10| 02 00 7d 04 00 58 64 01 | 00 53 28 02 00 00 00 73 |..}..Xd.|.S(....s|
|00001e20| be 00 00 00 53 68 6f 72 | 74 68 61 6e 64 20 66 6f |....Shor|thand fo|
|00001e30| 72 20 27 70 72 69 6e 74 | 5f 65 78 63 65 70 74 69 |r 'print|_excepti|
|00001e40| 6f 6e 28 73 79 73 2e 65 | 78 63 5f 74 79 70 65 2c |on(sys.e|xc_type,|
|00001e50| 20 73 79 73 2e 65 78 63 | 5f 76 61 6c 75 65 2c 20 | sys.exc|_value, |
|00001e60| 73 79 73 2e 65 78 63 5f | 74 72 61 63 65 62 61 63 |sys.exc_|tracebac|
|00001e70| 6b 2c 20 6c 69 6d 69 74 | 2c 20 66 69 6c 65 29 27 |k, limit|, file)'|
|00001e80| 2e 0a 20 20 20 20 28 49 | 6e 20 66 61 63 74 2c 20 |.. (I|n fact, |
|00001e90| 69 74 20 75 73 65 73 20 | 73 79 73 2e 65 78 63 5f |it uses |sys.exc_|
|00001ea0| 69 6e 66 6f 28 29 20 74 | 6f 20 72 65 74 72 69 65 |info() t|o retrie|
|00001eb0| 76 65 20 74 68 65 20 73 | 61 6d 65 20 69 6e 66 6f |ve the s|ame info|
|00001ec0| 72 6d 61 74 69 6f 6e 0a | 20 20 20 20 69 6e 20 61 |rmation.| in a|
|00001ed0| 20 74 68 72 65 61 64 2d | 73 61 66 65 20 77 61 79 | thread-|safe way|
|00001ee0| 2e 29 4e 28 0a 00 00 00 | 52 0f 00 00 00 52 15 00 |.)N(....|R....R..|
|00001ef0| 00 00 52 16 00 00 00 52 | 17 00 00 00 74 08 00 00 |..R....R|....t...|
|00001f00| 00 65 78 63 5f 69 6e 66 | 6f 52 32 00 00 00 52 33 |.exc_inf|oR2...R3|
|00001f10| 00 00 00 52 26 00 00 00 | 52 09 00 00 00 52 23 00 |...R&...|R....R#.|
|00001f20| 00 00 28 05 00 00 00 52 | 23 00 00 00 52 0f 00 00 |..(....R|#...R...|
|00001f30| 00 52 33 00 00 00 52 32 | 00 00 00 52 26 00 00 00 |.R3...R2|...R&...|
|00001f40| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|00001f50| 07 00 00 00 cc 00 00 00 | 73 10 00 00 00 00 03 00 |........|s.......|
|00001f60| 01 0d 01 0d 01 03 01 15 | 01 1a 01 00 01 63 01 00 |........|.....c..|
|00001f70| 00 00 04 00 00 00 06 00 | 00 00 43 00 00 00 73 4b |........|..C...sK|
|00001f80| 00 00 00 7a 35 00 74 00 | 00 69 01 00 83 00 00 5c |...z5.t.|.i.....\|
|00001f90| 03 00 7d 02 00 7d 01 00 | 7d 03 00 64 01 00 69 05 |..}..}..|}..d..i.|
|00001fa0| 00 74 06 00 7c 02 00 7c | 01 00 7c 03 00 7c 00 00 |.t..|..||..|..|..|
|00001fb0| 83 04 00 83 01 00 53 57 | 64 02 00 64 02 00 04 7d |......SW|d..d...}|
|00001fc0| 02 00 04 7d 01 00 7d 03 | 00 58 64 02 00 53 28 03 |...}..}.|.Xd..S(.|
|00001fd0| 00 00 00 73 25 00 00 00 | 4c 69 6b 65 20 70 72 69 |...s%...|Like pri|
|00001fe0| 6e 74 5f 65 78 63 28 29 | 20 62 75 74 20 72 65 74 |nt_exc()| but ret|
|00001ff0| 75 72 6e 20 61 20 73 74 | 72 69 6e 67 2e 52 0e 00 |urn a st|ring.R..|
|00002000| 00 00 4e 28 09 00 00 00 | 52 16 00 00 00 52 43 00 |..N(....|R....RC.|
|00002010| 00 00 52 32 00 00 00 52 | 33 00 00 00 52 26 00 00 |..R2...R|3...R&..|
|00002020| 00 74 04 00 00 00 6a 6f | 69 6e 52 02 00 00 00 52 |.t....jo|inR....R|
|00002030| 23 00 00 00 52 15 00 00 | 00 28 04 00 00 00 52 23 |#...R...|.(....R#|
|00002040| 00 00 00 52 33 00 00 00 | 52 32 00 00 00 52 26 00 |...R3...|R2...R&.|
|00002050| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 13 00 00 |..(....(|....R...|
|00002060| 00 52 08 00 00 00 d9 00 | 00 00 73 0c 00 00 00 00 |.R......|..s.....|
|00002070| 01 00 01 03 01 15 01 20 | 01 00 01 63 02 00 00 00 |....... |...c....|
|00002080| 02 00 00 00 06 00 00 00 | 43 00 00 00 73 3d 00 00 |........|C...s=..|
|00002090| 00 7c 01 00 64 01 00 6a | 08 00 6f 0d 00 01 74 02 |.|..d..j|..o...t.|
|000020a0| 00 69 03 00 7d 01 00 6e | 01 00 01 74 04 00 74 02 |.i..}..n|...t..t.|
|000020b0| 00 69 05 00 74 02 00 69 | 06 00 74 02 00 69 07 00 |.i..t..i|..t..i..|
|000020c0| 7c 00 00 7c 01 00 83 05 | 00 01 64 01 00 53 28 02 ||..|....|..d..S(.|
|000020d0| 00 00 00 73 6e 00 00 00 | 54 68 69 73 20 69 73 20 |...sn...|This is |
|000020e0| 61 20 73 68 6f 72 74 68 | 61 6e 64 20 66 6f 72 20 |a shorth|and for |
|000020f0| 27 70 72 69 6e 74 5f 65 | 78 63 65 70 74 69 6f 6e |'print_e|xception|
|00002100| 28 73 79 73 2e 6c 61 73 | 74 5f 74 79 70 65 2c 0a |(sys.las|t_type,.|
|00002110| 20 20 20 20 73 79 73 2e | 6c 61 73 74 5f 76 61 6c | sys.|last_val|
|00002120| 75 65 2c 20 73 79 73 2e | 6c 61 73 74 5f 74 72 61 |ue, sys.|last_tra|
|00002130| 63 65 62 61 63 6b 2c 20 | 6c 69 6d 69 74 2c 20 66 |ceback, |limit, f|
|00002140| 69 6c 65 29 27 2e 4e 28 | 09 00 00 00 52 0f 00 00 |ile)'.N(|....R...|
|00002150| 00 52 15 00 00 00 52 16 | 00 00 00 52 17 00 00 00 |.R....R.|...R....|
|00002160| 52 09 00 00 00 74 09 00 | 00 00 6c 61 73 74 5f 74 |R....t..|..last_t|
|00002170| 79 70 65 74 0a 00 00 00 | 6c 61 73 74 5f 76 61 6c |ypet....|last_val|
|00002180| 75 65 74 0e 00 00 00 6c | 61 73 74 5f 74 72 61 63 |uet....l|ast_trac|
|00002190| 65 62 61 63 6b 52 23 00 | 00 00 28 02 00 00 00 52 |ebackR#.|..(....R|
|000021a0| 23 00 00 00 52 0f 00 00 | 00 28 00 00 00 00 28 00 |#...R...|.(....(.|
|000021b0| 00 00 00 52 13 00 00 00 | 52 0a 00 00 00 e2 00 00 |...R....|R.......|
|000021c0| 00 73 0a 00 00 00 00 02 | 00 01 0d 01 0d 01 15 01 |.s......|........|
|000021d0| 63 03 00 00 00 03 00 00 | 00 05 00 00 00 43 00 00 |c.......|.....C..|
|000021e0| 00 73 61 00 00 00 7c 00 | 00 64 02 00 6a 08 00 6f |.sa...|.|.d..j..o|
|000021f0| 3a 00 01 79 0a 00 74 02 | 00 82 01 00 57 71 47 00 |:..y..t.|....WqG.|
|00002200| 04 74 02 00 6a 0a 00 6f | 1d 00 01 01 01 01 74 03 |.t..j..o|......t.|
|00002210| 00 69 04 00 83 00 00 64 | 01 00 19 69 05 00 69 06 |.i.....d|...i..i.|
|00002220| 00 7d 00 00 71 47 00 01 | 58 6e 01 00 01 74 07 00 |.}..qG..|Xn...t..|
|00002230| 74 08 00 7c 00 00 7c 01 | 00 83 02 00 7c 02 00 83 |t..|..|.|....|...|
|00002240| 02 00 01 64 02 00 53 28 | 03 00 00 00 73 f7 00 00 |...d..S(|....s...|
|00002250| 00 50 72 69 6e 74 20 61 | 20 73 74 61 63 6b 20 74 |.Print a| stack t|
|00002260| 72 61 63 65 20 66 72 6f | 6d 20 69 74 73 20 69 6e |race fro|m its in|
|00002270| 76 6f 63 61 74 69 6f 6e | 20 70 6f 69 6e 74 2e 0a |vocation| point..|
|00002280| 0a 20 20 20 20 54 68 65 | 20 6f 70 74 69 6f 6e 61 |. The| optiona|
|00002290| 6c 20 27 66 27 20 61 72 | 67 75 6d 65 6e 74 20 63 |l 'f' ar|gument c|
|000022a0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 73 70 |an be us|ed to sp|
|000022b0| 65 63 69 66 79 20 61 6e | 20 61 6c 74 65 72 6e 61 |ecify an| alterna|
|000022c0| 74 65 0a 20 20 20 20 73 | 74 61 63 6b 20 66 72 61 |te. s|tack fra|
|000022d0| 6d 65 20 61 74 20 77 68 | 69 63 68 20 74 6f 20 73 |me at wh|ich to s|
|000022e0| 74 61 72 74 2e 20 54 68 | 65 20 6f 70 74 69 6f 6e |tart. Th|e option|
|000022f0| 61 6c 20 27 6c 69 6d 69 | 74 27 20 61 6e 64 20 27 |al 'limi|t' and '|
|00002300| 66 69 6c 65 27 0a 20 20 | 20 20 61 72 67 75 6d 65 |file'. | argume|
|00002310| 6e 74 73 20 68 61 76 65 | 20 74 68 65 20 73 61 6d |nts have| the sam|
|00002320| 65 20 6d 65 61 6e 69 6e | 67 20 61 73 20 66 6f 72 |e meanin|g as for|
|00002330| 20 70 72 69 6e 74 5f 65 | 78 63 65 70 74 69 6f 6e | print_e|xception|
|00002340| 28 29 2e 0a 20 20 20 20 | 69 02 00 00 00 4e 28 0b |().. |i....N(.|
|00002350| 00 00 00 52 28 00 00 00 | 52 15 00 00 00 74 11 00 |...R(...|R....t..|
|00002360| 00 00 5a 65 72 6f 44 69 | 76 69 73 69 6f 6e 45 72 |..ZeroDi|visionEr|
|00002370| 72 6f 72 52 16 00 00 00 | 52 43 00 00 00 52 27 00 |rorR....|RC...R'.|
|00002380| 00 00 74 06 00 00 00 66 | 5f 62 61 63 6b 52 1e 00 |..t....f|_backR..|
|00002390| 00 00 52 00 00 00 00 52 | 23 00 00 00 52 0f 00 00 |..R....R|#...R...|
|000023a0| 00 28 03 00 00 00 52 28 | 00 00 00 52 23 00 00 00 |.(....R(|...R#...|
|000023b0| 52 0f 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|000023c0| 13 00 00 00 52 0b 00 00 | 00 eb 00 00 00 73 0e 00 |....R...|.....s..|
|000023d0| 00 00 00 06 00 01 0d 01 | 03 01 0a 01 0e 01 1f 01 |........|........|
|000023e0| 63 02 00 00 00 02 00 00 | 00 05 00 00 00 43 00 00 |c.......|.....C..|
|000023f0| 00 73 5a 00 00 00 7c 00 | 00 64 02 00 6a 08 00 6f |.sZ...|.|.d..j..o|
|00002400| 3a 00 01 79 0a 00 74 02 | 00 82 01 00 57 71 47 00 |:..y..t.|....WqG.|
|00002410| 04 74 02 00 6a 0a 00 6f | 1d 00 01 01 01 01 74 03 |.t..j..o|......t.|
|00002420| 00 69 04 00 83 00 00 64 | 01 00 19 69 05 00 69 06 |.i.....d|...i..i.|
|00002430| 00 7d 00 00 71 47 00 01 | 58 6e 01 00 01 74 07 00 |.}..qG..|Xn...t..|
|00002440| 74 08 00 7c 00 00 7c 01 | 00 83 02 00 83 01 00 53 |t..|..|.|.......S|
|00002450| 28 03 00 00 00 73 35 00 | 00 00 53 68 6f 72 74 68 |(....s5.|..Shorth|
|00002460| 61 6e 64 20 66 6f 72 20 | 27 66 6f 72 6d 61 74 5f |and for |'format_|
|00002470| 6c 69 73 74 28 65 78 74 | 72 61 63 74 5f 73 74 61 |list(ext|ract_sta|
|00002480| 63 6b 28 66 2c 20 6c 69 | 6d 69 74 29 29 27 2e 69 |ck(f, li|mit))'.i|
|00002490| 02 00 00 00 4e 28 0a 00 | 00 00 52 28 00 00 00 52 |....N(..|..R(...R|
|000024a0| 15 00 00 00 52 48 00 00 | 00 52 16 00 00 00 52 43 |....RH..|.R....RC|
|000024b0| 00 00 00 52 27 00 00 00 | 52 49 00 00 00 52 04 00 |...R'...|RI...R..|
|000024c0| 00 00 52 00 00 00 00 52 | 23 00 00 00 28 02 00 00 |..R....R|#...(...|
|000024d0| 00 52 28 00 00 00 52 23 | 00 00 00 28 00 00 00 00 |.R(...R#|...(....|
|000024e0| 28 00 00 00 00 52 13 00 | 00 00 52 05 00 00 00 f9 |(....R..|..R.....|
|000024f0| 00 00 00 73 0e 00 00 00 | 00 01 00 01 0d 01 03 01 |...s....|........|
|00002500| 0a 01 0e 01 1f 01 63 02 | 00 00 00 09 00 00 00 05 |......c.|........|
|00002510| 00 00 00 43 00 00 00 73 | 4a 01 00 00 7c 00 00 64 |...C...s|J...|..d|
|00002520| 05 00 6a 08 00 6f 3a 00 | 01 79 0a 00 74 02 00 82 |..j..o:.|.y..t...|
|00002530| 01 00 57 71 47 00 04 74 | 02 00 6a 0a 00 6f 1d 00 |..WqG..t|..j..o..|
|00002540| 01 01 01 01 74 03 00 69 | 04 00 83 00 00 64 01 00 |....t..i|.....d..|
|00002550| 19 69 05 00 69 06 00 7d | 00 00 71 47 00 01 58 6e |.i..i..}|..qG..Xn|
|00002560| 01 00 01 7c 01 00 64 05 | 00 6a 08 00 6f 21 00 01 |...|..d.|.j..o!..|
|00002570| 74 08 00 74 03 00 64 02 | 00 83 02 00 6f 0d 00 01 |t..t..d.|....o...|
|00002580| 74 03 00 69 09 00 7d 01 | 00 71 75 00 01 6e 01 00 |t..i..}.|.qu..n..|
|00002590| 01 67 00 00 7d 04 00 64 | 03 00 7d 05 00 78 b8 00 |.g..}..d|..}..x..|
|000025a0| 7c 00 00 64 05 00 6a 09 | 00 6f aa 00 01 7c 01 00 ||..d..j.|.o...|..|
|000025b0| 64 05 00 6a 08 00 70 0d | 00 01 7c 05 00 7c 01 00 |d..j..p.|..|..|..|
|000025c0| 6a 00 00 6f 90 00 01 7c | 00 00 69 0c 00 7d 06 00 |j..o...||..i..}..|
|000025d0| 7c 00 00 69 0e 00 7d 02 | 00 7c 02 00 69 10 00 7d ||..i..}.|.|..i..}|
|000025e0| 08 00 7c 02 00 69 12 00 | 7d 03 00 74 14 00 69 15 |..|..i..|}..t..i.|
|000025f0| 00 7c 08 00 83 01 00 01 | 74 14 00 69 16 00 7c 08 |.|......|t..i..|.|
|00002600| 00 7c 06 00 83 02 00 7d | 07 00 7c 07 00 6f 10 00 |.|.....}|..|..o..|
|00002610| 01 7c 07 00 69 18 00 83 | 00 00 7d 07 00 6e 07 00 |.|..i...|..}..n..|
|00002620| 01 64 05 00 7d 07 00 7c | 04 00 69 19 00 7c 08 00 |.d..}..||..i..|..|
|00002630| 7c 06 00 7c 03 00 7c 07 | 00 66 04 00 83 01 00 01 ||..|..|.|.f......|
|00002640| 7c 00 00 69 06 00 7d 00 | 00 7c 05 00 64 04 00 17 ||..i..}.|.|..d...|
|00002650| 7d 05 00 71 84 00 01 57 | 7c 04 00 69 1a 00 83 00 |}..q...W||..i....|
|00002660| 00 01 7c 04 00 53 28 06 | 00 00 00 73 73 01 00 00 |..|..S(.|...ss...|
|00002670| 45 78 74 72 61 63 74 20 | 74 68 65 20 72 61 77 20 |Extract |the raw |
|00002680| 74 72 61 63 65 62 61 63 | 6b 20 66 72 6f 6d 20 74 |tracebac|k from t|
|00002690| 68 65 20 63 75 72 72 65 | 6e 74 20 73 74 61 63 6b |he curre|nt stack|
|000026a0| 20 66 72 61 6d 65 2e 0a | 0a 20 20 20 20 54 68 65 | frame..|. The|
|000026b0| 20 72 65 74 75 72 6e 20 | 76 61 6c 75 65 20 68 61 | return |value ha|
|000026c0| 73 20 74 68 65 20 73 61 | 6d 65 20 66 6f 72 6d 61 |s the sa|me forma|
|000026d0| 74 20 61 73 20 66 6f 72 | 20 65 78 74 72 61 63 74 |t as for| extract|
|000026e0| 5f 74 62 28 29 2e 20 20 | 54 68 65 0a 20 20 20 20 |_tb(). |The. |
|000026f0| 6f 70 74 69 6f 6e 61 6c | 20 27 66 27 20 61 6e 64 |optional| 'f' and|
|00002700| 20 27 6c 69 6d 69 74 27 | 20 61 72 67 75 6d 65 6e | 'limit'| argumen|
|00002710| 74 73 20 68 61 76 65 20 | 74 68 65 20 73 61 6d 65 |ts have |the same|
|00002720| 20 6d 65 61 6e 69 6e 67 | 20 61 73 20 66 6f 72 0a | meaning| as for.|
|00002730| 20 20 20 20 70 72 69 6e | 74 5f 73 74 61 63 6b 28 | prin|t_stack(|
|00002740| 29 2e 20 20 45 61 63 68 | 20 69 74 65 6d 20 69 6e |). Each| item in|
|00002750| 20 74 68 65 20 6c 69 73 | 74 20 69 73 20 61 20 71 | the lis|t is a q|
|00002760| 75 61 64 72 75 70 6c 65 | 20 28 66 69 6c 65 6e 61 |uadruple| (filena|
|00002770| 6d 65 2c 0a 20 20 20 20 | 6c 69 6e 65 20 6e 75 6d |me,. |line num|
|00002780| 62 65 72 2c 20 66 75 6e | 63 74 69 6f 6e 20 6e 61 |ber, fun|ction na|
|00002790| 6d 65 2c 20 74 65 78 74 | 29 2c 20 61 6e 64 20 74 |me, text|), and t|
|000027a0| 68 65 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 69 |he entri|es are i|
|000027b0| 6e 20 6f 72 64 65 72 0a | 20 20 20 20 66 72 6f 6d |n order.| from|
|000027c0| 20 6f 6c 64 65 73 74 20 | 74 6f 20 6e 65 77 65 73 | oldest |to newes|
|000027d0| 74 20 73 74 61 63 6b 20 | 66 72 61 6d 65 2e 0a 20 |t stack |frame.. |
|000027e0| 20 20 20 69 02 00 00 00 | 52 22 00 00 00 69 00 00 | i....|R"...i..|
|000027f0| 00 00 69 01 00 00 00 4e | 28 1b 00 00 00 52 28 00 |..i....N|(....R(.|
|00002800| 00 00 52 15 00 00 00 52 | 48 00 00 00 52 16 00 00 |..R....R|H...R...|
|00002810| 00 52 43 00 00 00 52 27 | 00 00 00 52 49 00 00 00 |.RC...R'|...RI...|
|00002820| 52 23 00 00 00 52 24 00 | 00 00 52 22 00 00 00 52 |R#...R$.|..R"...R|
|00002830| 1f 00 00 00 52 25 00 00 | 00 74 08 00 00 00 66 5f |....R%..|.t....f_|
|00002840| 6c 69 6e 65 6e 6f 52 1a | 00 00 00 52 29 00 00 00 |linenoR.|...R)...|
|00002850| 52 2a 00 00 00 52 2b 00 | 00 00 52 19 00 00 00 52 |R*...R+.|..R....R|
|00002860| 2c 00 00 00 52 1b 00 00 | 00 52 2d 00 00 00 52 2e |,...R...|.R-...R.|
|00002870| 00 00 00 52 2f 00 00 00 | 52 1c 00 00 00 52 1d 00 |...R/...|R....R..|
|00002880| 00 00 52 21 00 00 00 74 | 07 00 00 00 72 65 76 65 |..R!...t|....reve|
|00002890| 72 73 65 28 09 00 00 00 | 52 28 00 00 00 52 23 00 |rse(....|R(...R#.|
|000028a0| 00 00 52 2a 00 00 00 52 | 1b 00 00 00 52 1f 00 00 |..R*...R|....R...|
|000028b0| 00 52 25 00 00 00 52 1a | 00 00 00 52 1c 00 00 00 |.R%...R.|...R....|
|000028c0| 52 19 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|000028d0| 13 00 00 00 52 00 00 00 | 00 02 01 00 00 73 36 00 |....R...|.....s6.|
|000028e0| 00 00 00 08 00 01 0d 01 | 03 01 0a 01 0e 01 1f 01 |........|........|
|000028f0| 0d 01 10 01 11 01 06 01 | 06 01 03 00 27 01 09 01 |........|....'...|
|00002900| 09 01 09 01 09 01 0d 01 | 12 01 07 00 10 01 06 01 |........|........|
|00002910| 19 01 09 01 0f 01 0a 01 | 63 01 00 00 00 01 00 00 |........|c.......|
|00002920| 00 01 00 00 00 43 00 00 | 00 73 07 00 00 00 7c 00 |.....C..|.s....|.|
|00002930| 00 69 01 00 53 28 02 00 | 00 00 73 52 00 00 00 43 |.i..S(..|..sR...C|
|00002940| 61 6c 63 75 6c 61 74 65 | 20 63 6f 72 72 65 63 74 |alculate| correct|
|00002950| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | line nu|mber of |
|00002960| 74 72 61 63 65 62 61 63 | 6b 20 67 69 76 65 6e 20 |tracebac|k given |
|00002970| 69 6e 20 74 62 2e 0a 0a | 20 20 20 20 4f 62 73 6f |in tb...| Obso|
|00002980| 6c 65 74 65 20 69 6e 20 | 32 2e 33 2e 0a 20 20 20 |lete in |2.3.. |
|00002990| 20 4e 28 02 00 00 00 52 | 26 00 00 00 52 0d 00 00 | N(....R|&...R...|
|000029a0| 00 28 01 00 00 00 52 26 | 00 00 00 28 00 00 00 00 |.(....R&|...(....|
|000029b0| 28 00 00 00 00 52 13 00 | 00 00 52 0d 00 00 00 24 |(....R..|..R....$|
|000029c0| 01 00 00 73 04 00 00 00 | 00 04 00 01 28 17 00 00 |...s....|....(...|
|000029d0| 00 74 07 00 00 00 5f 5f | 64 6f 63 5f 5f 52 2d 00 |.t....__|doc__R-.|
|000029e0| 00 00 52 16 00 00 00 52 | 36 00 00 00 74 07 00 00 |..R....R|6...t...|
|000029f0| 00 5f 5f 61 6c 6c 5f 5f | 52 14 00 00 00 52 15 00 |.__all__|R....R..|
|00002a00| 00 00 52 1e 00 00 00 52 | 04 00 00 00 52 0c 00 00 |..R....R|....R...|
|00002a10| 00 52 06 00 00 00 52 01 | 00 00 00 52 09 00 00 00 |.R....R.|...R....|
|00002a20| 52 02 00 00 00 52 03 00 | 00 00 52 42 00 00 00 52 |R....R..|..RB...R|
|00002a30| 07 00 00 00 52 08 00 00 | 00 52 0a 00 00 00 52 0b |....R...|.R....R.|
|00002a40| 00 00 00 52 05 00 00 00 | 52 00 00 00 00 52 0d 00 |...R....|R....R..|
|00002a50| 00 00 28 15 00 00 00 52 | 0b 00 00 00 52 09 00 00 |..(....R|....R...|
|00002a60| 00 52 0a 00 00 00 52 14 | 00 00 00 52 1e 00 00 00 |.R....R.|...R....|
|00002a70| 52 0d 00 00 00 52 4d 00 | 00 00 52 05 00 00 00 52 |R....RM.|..R....R|
|00002a80| 03 00 00 00 52 01 00 00 | 00 52 00 00 00 00 52 06 |....R...|.R....R.|
|00002a90| 00 00 00 52 0c 00 00 00 | 52 16 00 00 00 52 36 00 |...R....|R....R6.|
|00002aa0| 00 00 52 02 00 00 00 52 | 08 00 00 00 52 07 00 00 |..R....R|....R...|
|00002ab0| 00 52 42 00 00 00 52 04 | 00 00 00 52 2d 00 00 00 |.RB...R.|...R-...|
|00002ac0| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 74 |(....(..|..R....t|
|00002ad0| 01 00 00 00 3f 01 00 00 | 00 73 2a 00 00 00 06 02 |....?...|.s*.....|
|00002ae0| 09 01 09 01 09 02 30 05 | 0f 04 0c 0b 09 13 0f 1c |......0.|........|
|00002af0| 0c 04 0c 20 0f 15 0c 11 | 09 31 09 07 0f 0d 0c 09 |... ....|.1......|
|00002b00| 0f 09 12 0e 0f 09 0f 22 | |......."| |
+--------+-------------------------+-------------------------+--------+--------+